import { axios } from '@/utils/request'
export function exportList(params){
    return axios({
        url: '/school/export',
        method: 'post',
        data: params
      })
}
//下载excel
export function takeClassExcel(id){
    return axios({
      url: '/school/export/'+id+'/download',
      method: 'post',
    })
}
//删除导出
export function deleteExport(id){
   return axios({
     url:'school/export/'+id+'/delete',
     method:'post'
   })
}
//导入
export function importList(params){
  return axios({
      url: '/school/import',
      method: 'post',
      data: params
    })
}